Chapter 5 - Menu Manager Reference
This chapter describes the Menu Manager types, constants, resources, and functions that are affected by Mac OS 8, the Appearance Manager, or contextual menus.
- "Menu Manager Types and Constants" describe Menu Manager types and constants, including structures. Result codes are included at the end of this section.
- "Menu Manager Resources" describes the menu (
'MENU'
) resource, the extended menu('xmnu')
resource, and the menu color table ('mctb'
) resource.- "Menu Manager Functions" describes both Menu Manager functions and application-defined callback functions.
Chapter Contents
- Menu Manager Types and Constants
- Contextual Menu Gestalt Selector Constants
- Menu Definition IDs
- Contextual Menu Help Type Constants
- Contextual Menu Selection Type Constants
- Modifier Key Mask Constants
- Menu Icon Handle Constants
- The Menu Color Information Table Structure
- Result Codes
- Menu Manager Resources
- The Menu Resource
- The Extended Menu Resource
- The Menu Color Information Table Resource
- Menu Manager Functions
- Initializing the Menu Manager
- Creating Menus
- Responding to the User's Choice of a Menu Command
- Manipulating and Accessing Menu Item Characteristics
- Defining Your Own Contextual Menu Plug-In